/*    */ package com.qmsk.business.prize.winnder.dao;
/*    */ 
/*    */ import com.qmsk.business.sys.basic.SupportDAO;
/*    */ import com.utils.gson.out.GsonEbRst;
/*    */ import java.sql.SQLException;
/*    */ import java.util.Map;
/*    */ 
/*    */ public class WinnerDao extends SupportDAO
/*    */ {
/*    */   public GsonEbRst getGsonOfOptRoot(Map<String, Object> params, Integer pageIndex, Short nPageSize)
/*    */     throws SQLException
/*    */   {
/* 25 */     if (pageIndex.intValue() > 0) {
/* 26 */       pageIndex = Integer.valueOf(pageIndex.intValue() - 1);
/*    */     }
/* 28 */     return getGsonOfParams("selectSqlOfAll", params, pageIndex, nPageSize, 
/* 29 */       true);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfAll(Map<String, Object> params) throws SQLException
/*    */   {
/* 34 */     return getGsonOfParams("selectSqlOfAll", params, false);
/*    */   }
/*    */ 
/*    */   public Boolean getBooleanOfSwpIdAndPrizeLeveId(Integer swpId, Integer prizeLevelId) throws SQLException
/*    */   {
/* 39 */     Object[] params = { swpId, prizeLevelId };
/* 40 */     return queryForBoolean("selectSqlOfSpIdAndLvId", params, Boolean.valueOf(false));
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.prize.winnder.dao.WinnerDao
 * JD-Core Version:    0.5.3
 */